Repository navigation
fix(install): mount the Docker socket inside the VM on macOS - #1190
Open
thedavididris wants to merge 1 commit into
Open
thedavididris wants to merge 1 commit into
thedavididris wants to merge 1 commit into
Conversation
On macOS the Docker daemon runs in a Linux VM (Docker Desktop, colima, OrbStack, Rancher Desktop) and resolves bind mount sources there. The installer saved the context endpoint, the Mac-side forward of the socket, as LOOPFORGE_DOCKER_SOCKET, so the platform container failed to start with "mkdir ...docker.sock: operation not supported". On macOS it now saves /var/run/docker.sock, where the daemon listens inside the VM. A rerun replaces a Mac-side value that an earlier install saved, which otherwise stayed in .env and broke every later start. A socket the operator set to any other path is kept. Linux keeps the context endpoint, so rootless Docker is unchanged. Fixes Tencent#1161
thedavididris
force-pushed
the
fix/macos-docker-socket
branch
from
November 21, 2026 14:18
042bd24 to
72da120
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On macOS the Docker daemon runs in a Linux VM (Docker Desktop, colima, OrbStack, Rancher Desktop) and resolves bind mount sources there. The installer saved the context endpoint, the Mac-side forward of the socket, as LOOPFORGE_DOCKER_SOCKET, so the platform container failed to start with "mkdir ...docker.sock: operation not supported". On macOS it now saves /var/run/docker.sock, where the daemon listens inside the VM.
A rerun replaces a Mac-side value that an earlier install saved, which otherwise stayed in .env and broke every later start. A socket the operator set to any other path is kept. Linux keeps the context endpoint, so rootless Docker is unchanged.
Fixes #1161
Claude-Session: https://claude.ai/code/session_01DVYzcPse64U1k6Y8Segmyt
What changed
Describe the user problem and the resulting behavior.
Scope
Compatibility
List affected hosts and any migration or backward-compatibility impact.
Validation
List commands that were actually run and mark anything blocked or not run.
Safety